package com.togo.java.data.algorithm.util;

public class StopWatch {

	private final long start;

	public StopWatch() {

		start = System.currentTimeMillis();
	}

	public double elapsedTime() {

		long now = System.currentTimeMillis();
		return (now - start) / 1000.0;
	}
}
